package com.atguigu.tingshu.account.service.impl;

import java.math.BigDecimal;
import java.util.Date;

import com.google.common.collect.Maps;

import com.atguigu.tingshu.account.mapper.UserAccountMapper;
import com.atguigu.tingshu.account.service.MqOpsService;
import com.atguigu.tingshu.model.account.UserAccount;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Author:huzhongkui
 * Date: 2025-01-13 星期一 17:28:28
 * Description:
 */
@Service
public class MqOpsServiceImpl implements MqOpsService {


    @Autowired
    private UserAccountMapper userAccountMapper;

    @Override
    public void userAccountInit(String userId) {

        UserAccount userAccount = new UserAccount();
        userAccount.setUserId(Long.parseLong(userId));
        userAccountMapper.insert(userAccount);
    }
}
